<template>
  <div id="app">
    <template v-if="route.path.startsWith('/user/')">
      <UserLayout />
    </template>
    <template v-else-if="route.path.startsWith('/admin/')">
      <AdminLayout />
    </template>
    <template v-else>
      <BasicLayout/>
    </template>
  </div>
</template>

<script setup>
import BasicLayout from "@/layouts/BasicLayout.vue";

import {useRoute} from "vue-router";
import UserLayout from "@/layouts/UserLayout.vue";
import AdminLayout from "@/layouts/AdminLayout.vue";

const route = useRoute();
</script>

<style >
</style>
